package com.dz.lm.dao.user.read;

import java.util.List;
import java.util.Map;

import com.dz.lm.common.exception.DaoException;
import com.dz.lm.common.utils.stereotype.ReaderRepository;

@ReaderRepository("readUserDao")
public interface UserDao {
	
	Map<String, Object> qryUserPromoCode(Map<String, Object> param) throws DaoException;
	/**
	 *获取黄金代理人列表 
	 */
	List<Map<String, Object>> qryGoldAgentList(Map<String, Object> param) throws DaoException;
	/**
	 *获取黄金代理人条数 
	 */
	int qryGoldAgentListCount(Map<String, Object> param) throws DaoException;
	/**
	 *查询我的推广码
	 */
	Map<String, Object> qryMyPromoCode(Map<String, Object> param) throws DaoException;
	/**
	 *通过userId查询推荐的机构数
	 */
	int qryRecommendMoneyBarByUserIdCount(Map<String, Object> param) throws DaoException;
	/**
	 *通过userId查询是否已开通个人专属店铺
	 */
	Map<String, Object> qryPerStorInfo(Map<String, Object> param) throws DaoException;
	/**
	 *获取代理人列表 
	 */
	List<Map<String, Object>> qryAgentList(Map<String, Object> param) throws DaoException;
	/**
	 *获取代理人条数 
	 */
	int qryAgentListCount(Map<String, Object> param) throws DaoException;
}
